<?
    print "{";
    if($EQW->LSConnected()) {
        print "\"connected\" : \"1\",";
    } else {
        print "\"connected\" : \"0\",";
    }
    if($EQW->GetConfig("Locked") eq "true") {
        print "\"locked\" : \"1\"";
    } else {
        print "\"locked\" : \"0\"";
    }
    print "}";
?>